@charset 'utf-8';
@import  'sandal/core';
@import  'core/mixins', 'core/functions', 'core/vars';

@mixin aboutp {
	& > h5 {
		margin: 0 auto;
		margin-top: 30px;
		font-size: $font26;
	}

	& > p {
		margin-top: 30px;
		line-height: 2;
		text-indent: 2em;
		color: #fff;

		&:first-child {
			margin-top: 0;
		}
	}
}

$titleW: 50px;

.ht-in {
	position: fixed;
	top: $headerH;
	left: 0;
	right: 0;
	bottom: 59px;
	width: $w;
	margin: 0 auto;
	color: #fff;
	background-color: rgba(0, 0, 0, .5);
	overflow: hidden;
}
section {
	float: left;
	width: $titleW;
	height: 100%;
	overflow: hidden;
	
	&.active {
		width: $w - 3 * $titleW;
	}

	&:nth-child(odd) {
		h3 {
			background: linear-gradient(to bottom, #7cccff, #4277e5);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7cccff', endColorstr='#4277e5',GradientType=0 );
			span {
				background: #1b315c;
			}
		}
	}
	&:nth-child(even) {
		h3 {
			background: linear-gradient(to bottom, #4277e5, #7bcbff);
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4277e5', endColorstr='#7bcbff',GradientType=0 );
			span {
				background: #315066;
			}
		}
	}

	h3 {
		float: left;
		width: $titleW;
		height: 100%;
		padding-top: 30px;
		margin-top: 0;
		background: linear-gradient(to bottom, #4277e5, #7bcbff);
		cursor: pointer;

		span {
			padding: 50px 10px;
			font-size: $font20;
			text-align: center;
			background-color: #1b315c;
			display: block;
		}
	}

	.section-content {
		float: left;
		height: 100%;
		width: $w - 4 * $titleW;
		padding: 30px 30px 40px;
		overflow: auto;
 	}
}

.ht-about {
}
.ht-brand {
}
.ht-profile {
	// background: url("../img/about/profile.png") bottom center no-repeat;
	// background-size: 100%;
}
.ht-in-info {
	position: relative;
	padding: 30px 20px;
	padding-right: 0;
	@include aboutp();

	&:before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 5px;
		height: 200px;
		background-color: #e78800;
	}
}

.ht-in-module {
	margin-top: 50px;
	border-top: 1px solid #fff;
	@include aboutp();

	& > img {
		margin: 0 auto;
		padding-top: 20px;
		display: block;

		& + h5 {
			border-top: 1px solid #fff;
			padding-top: 30px;
		}
	}
}

.rect-block {
	margin-top: 40px;
	@extend %clearfix;

	li {
		position: relative;
		float: left;
		width: 136px;
		height: 160px;
		padding: 90px 0 30px;
		margin-right: 10px;
		background-color: rgba(0, 0, 0, .5);
		cursor: pointer;
		transition: .5s;

		&:before {
			top: 30px;
			left: 0;
			right: 0;
			margin: 0 auto;
		} 

		&:last-child {
			margin-right: 0;
		}

		&:hover {
			background-color: #007fe1;
		}
		p {
			text-align: center;
		}
	}
}

.ht-brand-credentials {
	margin-top: $contentPaddingT;
	@extend %clearfix;

	li {
		float: left;
		width: 180px;
		height: 288px;
		margin-right: 1px;
		background: url("../img/brand/credentials01.png") no-repeat;
		background-size: 100%;

		&:nth-child(2) {
			background-image: url("../img/brand/credentials02.png");
		}
		&:nth-child(3) {
			background-image: url("../img/brand/credentials03.png");
		}
		&:nth-child(4) {
			margin-right: 0;
			background-image: url("../img/brand/credentials04.png");
		}

		&:hover {
			.ht-brand-credentials-info {
				opacity: 1;
			}
		}
	}

	.ht-brand-credentials-info {
		width: 100%;
		height: 100%;
		padding: 15px;
		line-height: 1.75;
		background-color: rgba(0, 0, 0, .6);
		color: #fff;
		opacity: 0;
		transition: .5s;

		p {
			margin-bottom: 0;
		}
	}
}

.ht-boss {
	margin-top: 20px;

	li {
		position: relative;
		height: 250px;
		margin-top: 2px;
		padding: 20px 50px;
		padding-right: 210px;
		background: #1b314b;
		overflow: hidden;

		&:before {
			content: "";
			position: absolute;
			bottom: -18px;
			right: 130px;
			width: 50px;
			height: 330px;
			background: #1f4773;

			transform: rotate(20deg);
			-ms-transform: rotate(20deg);
			transform-origin: 50% 100%;
			-ms-transform-origin: 50% 100%;
			z-index: 0;
		}

		&:nth-child(even) {
			padding-left: 210px;
			padding-right: 50px;

			&:before {
				left: 36px;
			}
		}

		&:nth-child(2) {
			background-color: #083b74;

			&:before {
				background-color: #2d68aa;
			}

			.ht-boss-header {
				left: 10px;
			}
		}
		&:nth-child(3) {
			background-color: #00728a;

			&:before {
				background-color: #2d91aa;
			}
		}
		&:nth-child(4) {
			background-color: #59466b;

			&:before {
				background-color: #8e6f97;
			}

			.ht-boss-header {
				left: 10px;
			}
		}
	}

	.ht-boss-header {
		position: absolute;
		right: 10px;
		bottom: 0;
		width: 180px;
		height: 230px;
        background: url("../img/about/leader.png") no-repeat;
		background-position: -360px -0px;
		z-index: 2;

		&.ht-boss-header-ceo {
    		background-position: -0px -0px;
		}
		&.ht-boss-header-coo {
    		background-position: -180px -0px;
		}
		&.ht-boss-header-cmo {
    		background-position: -360px -0px;
		}
		&.ht-boss-header-gm {
    		background-position: -0px -230px;
		}
	}

	label {
		font-size: $font18;
		margin-top: 20px;
		display: block;

		span {
			font-size: $font24;
			margin-right: 20px;
		}
	}

	p {
		margin-top: 40px;
	}
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	border-top-width: 0;
}

// @keyframes expand {
// 	from {
// 		width: $titleW;
// 	}
// 	to {
// 		width: $w - 3 * $titleW;
// 	}
// }

// @keyframes collapse {
// 	from {
// 		width: $w - 3 * $titleW;
// 	}
// 	to {
// 		width: $titleW;
// 	}
// }